package com.tiancheng.onecode.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tiancheng.onecode.entity.MerchantPayConfig;
import com.tiancheng.onecode.model.dto.MerchantTradeUpdateDTO;

/**
 * @Author: kellen
 * @Description: 商户支付配置 service
 * @Date: create in 2024/12/9 18:21
 */
public interface IMerchantPayConfigService extends IService<MerchantPayConfig> {
    MerchantPayConfig getByMerchantCodeAndPlatformPayChannelIdl(String merchantCode,Long platformPayChannelId);

    /**
     * 更新交易商户信息
     * @param tradeUpdateDTO
     */
    void setTradeInfo(MerchantTradeUpdateDTO tradeUpdateDTO);
}
